package com.weepal.pavement.mqtt.demo.config.dataSource;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import static com.weepal.pavement.mqtt.demo.config.dataSource.DataSourceConfig.Constant.MASTER;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD,ElementType.TYPE})
public @interface TargetSource {
    String value() default MASTER;
}
